package com.dmm.user.service;

import com.dmm.user.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户信息 服务类
 * </p>
 *
 * @author dmm
 * @since 2022-10-13
 */
public interface UserService extends IService<User> {

    //查询所有
    User FindAll(Integer id);

    //登录
    User getemail(String email, String password);

    //注册
    Boolean register(User user,String code);

    //验证码的获取
    void getCode(String email);
}
